import axios from '@/http/api'

export const version = '/api'

/**
 * 获取订单列表
 * @param {*}
 */
export const newLaw = (data) => {
  return axios({
    url: `${version}/search/search`,
    method: 'get',
    params: data
  })
}

export const lawDetail = (id) => {
  return axios({
    url: `${version}/law/lawdetail/${id}`,
    method: 'get'
  })
}
